home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000032_news@columbia.edu _Wed Sep 20 17:38:37 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA22771
for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 20 Sep 2000 17:38:34 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA15170
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 20 Sep 2000 17:38:33 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA28340
for kermit.misc@watsun.cc.columbia.edu; Wed, 20 Sep 2000 17:18:06 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: send a command in command line arguments
Date: 20 Sep 2000 21:18:06 GMT
Organization: Columbia University
Message-ID: <8qb9ie$rlg$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <39C924E2.AC4782F2@biochem.okstate.edu>,
Feng Qiu <fqiu@biochem.okstate.edu> wrote:
: I have a liquid He level meter connect to Sun Ultra2 ttya serial port. I
: can connect to meter through kermit:
: kermit -l /dev/ttya -c
: then type command interactively, e.g when I type R1, it will echo the
: level of liquid hellium. Is there any way to pass R1 directly without
: interactive typing?
: I tried:
: kermit /dev/ttya -c -C R1
: kermit /dev/ttya -C R1
: both won't work.
:
You need to write a little script program using the OUTPUT and INPUT
commands. See the manual for how to write script programs:
http://www.columbia.edu/kermit/manuals.html
and/or look at some of the sample scripts here:
http://www.columbia.edu/kermit/ckscripts.html
The latter link also includes a short tutorial.
- Frank